package gui;

public class Data {
	private String filename;
	private String title;
	private String date;
	private String group;
	private String detail;
	
	public Data(String filename, String title, String date, String group, String detail){
		this.filename = filename.replace(".txt", "");;
		this.title = title;
		this.date = date;
		this.group = group;
		this.detail = detail;
	}
	
	public String getFile(){
		return filename;
	}
	public String getTitle(){
		return title;
	}
	public String getDate(){
		return date;
	}
	public String getGroup(){
		return group;
	}
	public String getDetail(){
		return detail;
	}
	public void setDetail(String newDetail){
		detail = newDetail;
	}

}
